Invert
This method
negates the imaG image.
Syntax: | imaG.Invert |
This method
changes all colors to their opposites in RGB color space. Black
becomes white, white becomes black, yellow becomes blue, blue
becomes yellow, etc.
If the imaG contains a palettized image, a new palette will be created with inverted colors.
If MODE PROPERTY is NOT caModeDraw then an ERROR will be thrown.